package com.wanxi.shop.mapper;

import com.wanxi.shop.api.entity.NearShopQueryEntity;
import com.wanxi.shop.api.entity.ShopEntity;
import com.wanxi.shop.api.vo.*;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ShopMapper {

    String findShopNameById(Long id);

    ShopFindByIdOutVo findShopById(Long id);

    int updateShop(ShopEntity shopEntity);

    List<FindNearShopOutVO> findNearShop(NearShopQueryEntity nearShopQueryEntity);

    List<FindShopNameOutVO> findShopName(String shopName);

    List<SkuFindAllOutVo> findSkuByType(Long typeId);

    List<SkuFindByShopOutVo> findSkuByShopId(Long shopId);

    List<FindShopAll> findAllShop(Long shopId);
}
